home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / mac / PageMaker 6.5 SDK Mac / SourceCode / PageMakerClassLibrary / Queries / PGetPageID.cpp < prev    next >
C/C++ Source or Header  |  1996-08-15  |  675b  |  24 lines

  1. /*
  2.  *--- PGetPageID.cpp ------------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Mon, Oct 16, 1995 @ 10:42 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PGetPageID.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PGetPageID.h"
  12. #include "PRequestBuf.h"
  13.  
  14. PGetPageID::PGetPageID(short nPageNumber)
  15. {
  16.     char temp[2];        // one short
  17.     PRequestBuf request(temp);
  18.     request << nPageNumber;
  19.     
  20.     PQuery query(pm_getpageid, request, itsLong);
  21. }
  22.  
  23. // end of PGetPageID.cpp
  24.